<?php
class Agitum_Model_Tender_Country extends Agitum_Model_Link
{
	protected $_t_class = 'Agitum_Model_DbTable_Tender_Country';
	
	public static function listByTenderId($id_list) 
	{
		$db = Zend_Registry::get('Zend_Db'); 
		$select = $db->select()
			->from('tender_country')
			->where( new Zend_Db_Expr('src_id IN ('.implode(',', $id_list) .')') );
		return $select->query()->fetchAll();
	}
}